package com.wyp168.serviceedu.service;

import com.wyp168.serviceedu.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyp168.serviceedu.entity.subjecet.OneLevelSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author wyp168
 * @since 2022-05-03
 */
public interface EduSubjectService extends IService<EduSubject> {

    /**
     * 添加课程分类
     * @param file
     */
    void saveSubject(MultipartFile file,EduSubjectService subjectService);

    List<OneLevelSubject> getAllOneTwoLevelSubject();
}
